import React, { Component } from 'react';
//import logo from '../content/logo.svg';
//此处必须引用fontawesome-free-solid，如此全局可使用icon=''
import '@fortawesome/fontawesome-free-solid';
// import pack from '@fortawesome/fontawesome-free-solid';
import '../css/App.css';
import Header from '../component/header/Header';
import Body from '../component/body/Body';

class App extends Component {
  render() {
    return (
      <div className="App">
        <Header></Header>
        <Body></Body>
        {/* <header className="App-header">
          <img src={logo} className="App-logo" alt="logo" />
          <p>
            Edit <code>src/App.js</code> and save to reload.
          </p>
          <a
            className="App-link"
            href="https://reactjs.org"
            target="_blank"
            rel="noopener noreferrer"
          >
            Learn React
          </a>
        </header> */}
      </div>
    );
  }
}

export default App;
